-- GENERATED SPELL FOR [Eye of Immol'thar] --


function spell0_14396(pUnit, Event) --@Eye of Immol\'thar,n/a--
pUnit:FullCastSpellOnTarget(22909,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14396', 6000, 1)
end

function Sorts_14396(pUnit, Event)
local choix_sorts_14396 = math.random(0, 0)
if choix_sorts_14396 == 0 then
pUnit:RegisterEvent('spell0_14396', 1, 1)
end
end

function mob14396_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14396', math.random(1500, 3000), 1)
end

function mob14396_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14396_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14396_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14396, 1, 'mob14396_Action')
RegisterUnitEvent(14396, 2, 'mob14396_Leave')
RegisterUnitEvent(14396, 3, 'mob14396_Kill')
RegisterUnitEvent(14396, 4, 'mob14396_Die')
